const BsaeSize = 16
function setRem(){
    const scale  = document.documentElement.clientWidth / 1920
    document.documentElement.style.fontSize = (BsaeSize * Math.min(scale,2)) + 'px'
    
}
setRem()
window.onresize = ()=>{
    setRem()
}